package auto.app.service;

import auto.app.controller.from.menus.MenusAddFrom;
import auto.app.controller.from.menus.MenusUpdateFrom;
import auto.app.controller.from.menus.updateRuleMenusFrom;
import auto.app.controller.info.MenusInfo;
import auto.app.exetion.MainExection;
import auto.app.model.Menus;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-07-08
 */
public interface MenusService extends IService<Menus> {

    public List<MenusInfo> slectWoniuMenus(Integer id) throws MainExection;

    public Boolean addMenus(MenusAddFrom menusAddFrom) throws MainExection;

    public Boolean updateMenus(MenusUpdateFrom menusUpdateFrom ) throws MainExection;

    public Boolean updateRuleMenus(updateRuleMenusFrom updateRuleMenusFrom);

}
